package com.rainbow.security.mapper

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.rainbow.security.entity.Menu

interface MenuMapper : BaseMapper<Menu> {

    fun getAllMenu(): List<Menu>?

    fun getMenusByHrId(hrId: Long): List<Menu>?

    fun menuTree(): List<Menu>?

    fun getMenusByRid(rid: Long): List<Long>
}